<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="static/css/user.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="static/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="static/js/user.js"></script>

</head>
<body>
<a href="user?m=add">新增用户</a>
   <table>
     <thead>
     <tr>
       <th>编号</th><th>姓名</th><th>性别</th><th>日期</th><th>年龄</th>
     </tr>
     </thead>
     <tbody>
   <c:forEach items="${list }" var="user">
     <tr>
       <td>${user.getId()}</td>
       <td>${user.getName()}</td>
       <td>${user.getSex()}</td>
       <td>${user.getRiqi()}</td>
       <td>${user.getAge()}</td>
       <td><input id="${user.getId()}" type="button" value="删除" onclick="deleteu(this)"></td>
     </tr>
   </c:forEach>
   </tbody>
   </table>
</body>
</html>